package cn.com.pureAppApi.entity;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * InnoDB free: 10240 kB
 * 
 * QQ讨论群:76989293
 * @email 2696701142@qq.com
 * @date 2018-06-12 16:51:48
 */
@Data
@Table(name="app_authorities")
public class AuthoritiesEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
		@Id
		private Integer id;
	/**
	 * 
	 */
		private String username;
	/**
	 * 
	 */
		private String authority;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * 获取：
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * 设置：
	 */
	public void setAuthority(String authority) {
		this.authority = authority;
	}
	/**
	 * 获取：
	 */
	public String getAuthority() {
		return authority;
	}
}
